package cn.stylefeng.guns.modular.gridsystem.model.param;

import lombok.Data;
import java.io.Serializable;

@Data
public class CollectApplicationYmlParam implements Serializable {

    //算法分组号
    private String micGroupId = "888888";
    //算法ID
    private String micAccessToken = "123456";
    //通道号生成基础数（设0从1开始生成通道号）
    private Integer micRouterBase = 1;
    //采集数据的模式  tcp ftp  usb
    private String micDeviceType = "ftp";
    //USB模式是否屏蔽default设备
    private boolean micIsShieldDefaultDevice = true;
    //TCP模式下IP地址
    private String micTcpIp = "192.168.127.254";
    //TCP模式下端口号
    private Integer micTcpPort = 4001;
    //USB模式声卡名称
    private String[] micDeviceName = { "Âó¿˷ç" };
    //存储剩余大小   比例    70表示当前盘符超过70%则删除多余文件
    private Integer micDiskCapacity = 80;
    //usb模式或tcp模式下设1：有1：N过程   2：无1：N过程
    private String micUsbMode = "2";
    // 文件存储模式    local  本地  remote 远程
    private String micFileStorageMode = "local";
    //音频过载  判断比例    填10相当于百分之10
    private Integer micMaxFrequencyVoiceRatio = 20;
    //音频无声  判断比例   填10相当于百分之10
    private Integer micNoFrequencyVoiceRatio = 80;
    //usb模式共有几通道
    private Integer micUsbModeChannelNum = 1;
    //每小时上传文件个数   设0不设置个数
    private Integer micUploadFileQuantity = 1;
    //文件无声或过载是否删除文件
    private Boolean micFileErrorIsDelete = true;
    //文件大小
    private Integer audioWavSize = 480046;
    //FTP文件扫描路径扫描路径
    private String audioScanPath = "/home/anyone";
    //临时文件目录
    private String audioTmpSavePath = "/home/tmpFiles";
    //备份文件目录
    private String audioBackupPath = "/home/backup";
    //引擎地址
    private String engineHttpUrl = "http://127.0.0.1:8899/";
    //服务端地址
//    private String engineWebServerUrl;
    //文件存储服务器地址
    private String engineFileSaveUrl = "http://192.168.101.9:82/";
    //网关设备编号
//    private String engineDeviceNum;
    //倾角传感器串口号
    private String[] sensorSerialCom= { "COM3" };
    //传感器采集速率,数值对应毫秒,如果是100,则1秒10次
    private Integer sensorSensorSampleRate = 1000;
    //倾角服务端地址
    private String sensorSensorServerUrl = "http://127.0.0.1:82/";
    //倾角设备编号
//    private String sensorDeviceCode;
    //倾角设备启用与否
    private String sensorOnOrOff = "off";
    //8路采集板串口控制采集板开关，设备必须装好驱动才可以开启，且必须有ttyXRUSB开头的串口
    private String audiocaptureOnOrOff = "off";
    //8路采集板串口名称
    private String audiocaptureSerialName = "COMttyXRUSB[0-3]";
    //8路采集板录音时间
    private Integer audiocaptureRecordingTime = 30;
    //主动发声开关
    private String soundmakerOnOrOff = "off";
    //主动发声频率
    private Integer soundmakerFrequency = 500;
    //主动发声音量
    private Integer soundmakerVolumeActiveVoice = 10;
    //主动发声工作时间  秒
    private Integer soundmakerWorkingTime = 8;
    //主动发声间隔时间 秒
    private Integer soundmakerIntermittentTime = 5;
    //主动发声设备名称
    private String  soundmakerPlayVoiceDeviceName = "ÑïÉùÆ÷";
    //发送哪个网卡IP至后端
    private String appNetworkInterface = "wlan1";
    //是否发送设备CPU温度至后端
    private String appReportStartupStatus = "on";
    //是否发送启动日志信息
    private String appUploadTemperatureOnOff = "off";
    //光纤开关
    private String opticalOnOrOff = "off";
    //光纤振动UDP服务端端口号
    private Integer opticalVibrationPort = 4070;
    //光纤音频UDP服务端端口号
    private Integer opticalAudioPort = 4060;
    //光纤侦听位置
    private Integer opticalListeningLocation = 2745;
    //光纤降噪等级
    private Integer opticalNoiseReductionLevel = 2;
    //光纤降噪开关
    private Boolean opticalNoiseReductionSwitch = true;
    //光纤距离
    private Integer opticalDistance = 2;
    //光纤音频采样率
    private Integer opticalScanRate = 16000;
    //光纤音频采样率配置
    private Integer opticalDiff = 100;
    //光纤振动阈值
    private Integer opticalVibrationThreshold = 250;
    //光纤数据服务器地址
    private String opticalServerUrl = "http://192.168.1.2:8000/";

}
